using System;
using Microsoft.Extensions.DependencyInjection;
using BJoin.Application.WebApi.AutoDI.PublicButHidden;

namespace BJoin.Application.WebApi.AutoDI
{
    /// <summary>
    /// Attribute for marking classes which need to register with Scope lifetime
    /// </summary>
    public class RegisterAsScopedAttribute : RegisterWithLifetimeAttribute
    {

        /// <summary>
        /// ctor to set the ServiceLifetime
        /// </summary>
        public RegisterAsScopedAttribute() : base(ServiceLifetime.Scoped)
        { }
    }
}